package cn.edu.cug.cs.gtl.plugins.redner4oi.nodes;

import cn.edu.cug.cs.gtl.apis.render.nodes.DrawStyle;
import com.openinventor.inventor.nodes.SoDrawStyle;

public class DrawStyleImpl extends NodeImpl implements DrawStyle {
    public DrawStyleImpl() {
        super();
        this.nativeObject=new SoDrawStyle();
    }
    public DrawStyleImpl(SoDrawStyle s) {
        super();
        this.nativeObject=s;
    }
    @Override
    public boolean attach(Object nativeObject) {
        if(nativeObject instanceof SoDrawStyle)
            this.nativeObject = (SoDrawStyle)nativeObject;
        else
            return false;

        return true;
    }
}
